package org.budo.elasticsearch.jdbc.driver;

import lombok.Getter;

/**
 * ES 参数列表
 * 
 * ("client.transport.sniff", true) ("client.transport.ignore_cluster_name",
 * false) ("threadpool.index.queue_size", "0")
 * 
 * @author limingwei
 */
@Getter
public enum ESConf {
    CLUSTER_NAME("cluster.name", "elasticsearch"),

    THREAD_POOL_INDEX_TYPE("threadpool.index.type", "fixed"),

    THREAD_POOL_INDEX_SIZE("threadpool.index.size", "1");

    private String key;

    private String defaultValue;

    ESConf(String key, String defaultValue) {
        this.key = key;
        this.defaultValue = defaultValue;
    }
}
